package com.dykj.fireFighting.api.socialUnit.firemanger.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * @Description 消防管理-重点部位
 * @Author aixiaolan
 * @Date  2021-06-25 14:04:07
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "消防管理-重点部位")
@TableName("key_parts")
public class KeyParts extends Model<KeyParts> {
	private static final long serialVersionUID = 1L;

	@TableId
	private String id;
	/**
	 * 创建人
	 */
    @ApiModelProperty(value = "创建人")
	@TableField("create_by")
	private String createBy;
	/**
	 * 创建时间
	 */
    @ApiModelProperty(value = "创建时间")
	@TableField("create_time")
	private Date createTime;
	/**
	 * 删除标识 0已删除 1未删除
	 */
    @ApiModelProperty(value = "删除标识 0已删除 1未删除")
	@TableField("is_del")
	private Integer isDel;
	/**
	 * 修改人
	 */
    @ApiModelProperty(value = "修改人")
	@TableField("update_by")
	private String updateBy;
	/**
	 * 修改时间
	 */
    @ApiModelProperty(value = "修改时间")
	@TableField("update_time")
	private Date updateTime;
	/**
	 * 单位id
	 */
    @ApiModelProperty(value = "单位id")
	@TableField("unit_id")
	private String unitId;
	/**
	 * 名称
	 */
    @ApiModelProperty(value = "名称")
	private String name;
	/**
	 * 地址
	 */
    @ApiModelProperty(value = "地址")
	private String address;
	/**
	 * 使用性质
	 */
    @ApiModelProperty(value = "使用性质")
	@TableField("nature_of_use")
	private String natureOfUse;
	/**
	 * 面积
	 */
    @ApiModelProperty(value = "面积")
	private Double area;
	/**
	 * 耐火等级
	 */
    @ApiModelProperty(value = "耐火等级")
	@TableField("fire_resistance_rating")
	private String fireResistanceRating;
	/**
	 * 消防设施  0有  1无
	 */
    @ApiModelProperty(value = "消防设施  0有  1无")
	@TableField("fire_fighting_facilities")
	private Integer fireFightingFacilities;
	/**
	 * 负责人
	 */
    @ApiModelProperty(value = "负责人")
	@TableField("person_in_charge")
	private String personInCharge;
	/**
	 * 负责人电话
	 */
    @ApiModelProperty(value = "负责人电话")
	@TableField("person_phone")
	private String personPhone;
	@TableField("id_card")
	private String idCard;
	/**
	 * 应急预案id
	 */
    @ApiModelProperty(value = "应急预案id")
	@TableField("emergency_plan_id")
	private String emergencyPlanId;

	@ApiModelProperty(value = "分区id")
	@TableField("partition_id")
	private String partitionId;


}
